The Record Dictionary must be populated with the variables you want to use. The file consists of two parts:
The record parameters are defined in the format:
RecordName = SEARCH(Column,SearchMask) {Repeating}
Parameter |
Description |
RecordName |
The name that future references to this record will use. |
Column |
The column number that will be searched. |
SearchMask |
The text to look for in the column. |
Repeating |
(Optional) Can be set for any record that is of repeating type. You must set this flag when you are using the pointer to reference multiple records. |
The variable parameters are defined using this format:
VariableName = Record(RecordName) GVM(GVM_Variable) Offset(Offset)
Length(Length) Type(TypeVariable) Format(FormatFlags)
Rule(RuleName) Data(RuleData) Precision(Precision)
RPN(RPN Equation)
Parameter |
Description |
VariableName |
The name future references to this variable will use. A variable name begins with an alpha character and can consist of up to 30 characters. |
RecordName |
The previously defined record (from the Record section) on which this variable will be found. |
GVM_Variable |
The name of the global variable to use. |
The RecordName and GVM_Variable parameters are mutually exclusive. |
|
Offset |
The offset into the record where the data is located. |
Length |
The length of the data. |
TypeVariable |
(Optional) Char, Num, Zone, or Packed. Char is character data. Character data can be any string of alphanumeric characters and symbols. Num is numeric data. Numeric data can have a sign in front and a decimal place. Zone is zoned decimal. Zoned decimal looks like a numeric value except the sign is added to the last digit. Packed is packed decimal. Packed decimal is a binary format used mainly on z/OS systems. |
FormatFlags |
(Optional) Similar to the flags used with MoveNum rule except the input flags, such as input length and precision, S, and B, are not needed. |
RuleName |
(Optional) You can include any field rule such as DateFmt or SetAddr2. The Move_It and MoveNum rules are inherent to the Record Dictionary, so you do not need to specify them. If you omit the rule, the Move_It rule functionality is the default. |
RuleData |
(Optional) Any required rule data for the RuleName entry. |
Precision |
(Optional) The number of decimal places for a numeric variable. |
RPN Equation |
Reverse Polish Notation function. See the RPN Function section below. |
Note | Include a single space between variable parameters. A carriage return indicates the end of the variable definition. If you omit the length of a GVM-based Record Dictionary variable in the Record Dictionary entry, the system uses the length of the source GVM variable. |
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.